package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/5/15.
 */

public class InvitationBean implements IModel {

    /**
     * error_code : 0
     * msg : 成功
     * data : [{"id":"29","cate_id":"40","ad_name":"母亲节","color":"#000000","ad_logo":"http://aaa.com/\\Public\\uploads\\2017-05-08\\59102386ea959.jpg"}]
     */

    private String error_code;
    private String msg;
    private List<DataBean> data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {
//        /**
//         * id : 29
//         * cate_id : 40
//         * ad_name : 母亲节
//         * color : #000000
//         * ad_logo :
//         */

        private String id;
        private String cate_id;
        private String ad_name;
        private String color;
        private String ad_logo;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCate_id() {
            return cate_id;
        }

        public void setCate_id(String cate_id) {
            this.cate_id = cate_id;
        }

        public String getAd_name() {
            return ad_name;
        }

        public void setAd_name(String ad_name) {
            this.ad_name = ad_name;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public String getAd_logo() {
            return ad_logo;
        }

        public void setAd_logo(String ad_logo) {
            this.ad_logo = ad_logo;
        }
    }
}
